<template>
	<view>
		<uni-section title="财务工具" type="line">	</uni-section>	
		<uni-list>
			<uni-list-item title="复利计算" @click="goToPage('/pages/tabbar/tabbar-4/calculator/index')"> </uni-list-item>
			<uni-list-item title="财务报表" @click="goToPage('/pages/tabbar/tabbar-4/report/report')"> </uni-list-item>
		</uni-list>
	</view>
</template>

<script>
	import uniSection from '@/components/uni-section/uni-section.vue'
	import uniList from '@/components/uni-list/uni-list.vue'
	import uniListItem from '@/components/uni-list-item/uni-list-item.vue'
	export default {
		components:{
			uniSection,
			uniList,
			uniListItem
		},
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			goToPage(url) {
				if (!url) return;
				uni.navigateTo({
					url
				});
			}
		}
	}
</script>

<style>
	/* 头条小程序组件内不能引入字体 */
	/* #ifdef MP-TOUTIAO */
	@font-face {
		font-family: uniicons;
		font-weight: normal;
		font-style: normal;
		src: url('~@/static/uni.ttf') format('truetype');
	}
	
	/* #endif */
	
	page {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		background-color: #efeff4;
		min-height: 100%;
		height: auto;
	}
	
	view {
		font-size: 14px;
		line-height: inherit;
	}
	.content {
		text-align: center;
		height: 400upx;
		margin-top: 200upx;
	}
</style>
